<?php



class FuntNinosxcasoMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.FuntNinosxcasoMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('funt_ninosxcaso');
		$tMap->setPhpName('FuntNinosxcaso');

		$tMap->setUseIdGenerator(false);

		$tMap->addForeignPrimaryKey('FUNT_CASO_ID', 'FuntCasoId', 'int' , CreoleTypes::INTEGER, 'funt_caso', 'FUNT_CASO_ID', true, null);

		$tMap->addForeignPrimaryKey('FUNM_NINO_ID', 'FunmNinoId', 'int' , CreoleTypes::INTEGER, 'funm_nino', 'FUNM_NINO_ID', true, null);

		$tMap->addColumn('FUNNXC_ESPRINCIPAL', 'FunnxcEsprincipal', 'string', CreoleTypes::VARCHAR, false, 1);

	} 
} 